home *** CD-ROM | disk | FTP | other *** search
- -- card: 2822 from stack: in.1
- -- bmap block id: 7016
- -- flags: 4000
- -- background id: 2690
- -- name: TexasCard
- ----- HyperTalk script -----
- on idle
- put the time && the date into field "locationField"
- pass idle
- end idle
-
-
-
- -- part 55 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=5 top=287 right=310 bottom=114
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: TEXAS Help, etc.
- ----- HyperTalk script -----
- on mouseUp
- visual effect barn door open
- go to card "TEXAS help"
- end mouseUp
-
-
- -- part 65 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=6 top=119 right=265 bottom=283
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: aboutTexasField
- ----- HyperTalk script -----
- on mouseUp
- hide card field "aboutTexasField"
- end mouseUp
-
-
-
- -- part 53 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=399 top=127 right=151 bottom=508
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Open Index
- ----- HyperTalk script -----
- on mouseUp
- global textFileNum, maxText, keyFileNum, maxKey, ptrFileNum, maxPtr, keyNum
- if textFileNum <> 0 then
- get closeFile(textFileNum)
- put 0 into textFileNum
- end if
- if keyFileNum <> 0 then
- get closeFile(keyFileNum)
- put 0 into keyFileNum
- end if
- if ptrFileNum <> 0 then
- get closeFile(ptrFileNum)
- put 0 into ptrFileNum
- end if
- get openIndexFiles( 0, 0)
- if It <> empty then
- put first item of It into textFileNum
- put second item of It into maxText
- put third item of It into keyFileNum
- put (fourth item of It) / 32 into maxKey
- put fifth item of It into ptrFileNum
- put (sixth item of It) / 4 into maxPtr
- put trunc ( maxKey / 2) into keyNum
- fillKeysField 0
- visual effect iris open
- go to card "IndexCard"
- end if
- end mouseUp
-
-
-
- -- part 67 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=399 top=208 right=232 bottom=508
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Join Files
- ----- HyperTalk script -----
- on mouseUp
- get catFiles(0,0)
- end mouseUp
-
-
-
- -- part 70 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=399 top=154 right=178 bottom=508
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Build Index
- ----- HyperTalk script -----
- on mouseUp
- get buildIndex (0, 0, 100000) -- reduce 100000 if short on memory!
- end mouseUp
-
-
-
-
- -- part 72 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=399 top=181 right=205 bottom=508
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Merge Indices
- ----- HyperTalk script -----
- on mouseUp
- get mergeIndices (0, 0, 100000) -- reduce 100000 if short on memory!
- end mouseUp
-
-
-
-
- -- part 75 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=399 top=235 right=259 bottom=508
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Delete Files
- ----- HyperTalk script -----
- on mouseUp
- get delFiles(0,0)
- end mouseUp
-
-
-
- -- part 82 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=5 top=313 right=337 bottom=114
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Quick Start Tips
- ----- HyperTalk script -----
- on mouseUp
- show card field "Quick Tips Field"
- end mouseUp
-
-
- -- part 83 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=2 top=75 right=341 bottom=330
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Quick Tips Field
- ----- HyperTalk script -----
- on mouseUp
- hide card field "Quick Tips Field"
- end mouseUp
-
-
- -- part 84 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=403 top=67 right=126 bottom=500
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Open Index
- ----- HyperTalk script -----
- on mouseUp
- global textFileNum, maxText, keyFileNum, maxKey, ptrFileNum, maxPtr, keyNum
- if textFileNum <> 0 then
- get closeFile(textFileNum)
- put 0 into textFileNum
- end if
- if keyFileNum <> 0 then
- get closeFile(keyFileNum)
- put 0 into keyFileNum
- end if
- if ptrFileNum <> 0 then
- get closeFile(ptrFileNum)
- put 0 into ptrFileNum
- end if
- get openIndexFiles(0,0)
- if It <> empty then
- put first item of It into textFileNum
- put second item of It into maxText
- put third item of It into keyFileNum
- put (fourth item of It) / 32 into maxKey
- put fifth item of It into ptrFileNum
- put (sixth item of It) / 4 into maxPtr
- put trunc ( maxKey / 2) into keyNum
- fillKeysField 0
- visual effect iris open
- go to card "IndexCard"
- end if
- end mouseUp
-
-
-
- -- part 87 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=95 top=42 right=68 bottom=126
- -- title width / last selected line: 0
- -- icon id / first selected line: 19678 / 19678
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: aboutTexasButton
- ----- HyperTalk script -----
- on mouseUp
- show card field "aboutTexasField"
- end mouseUp
-
-
-
- -- part contents for card part 65
- ----- text -----
- TEXAS, version 0.1, was written by Mark^Zimmermann. You may use and distribute it freely, provided:
- • you leave this notice intact;
- • you send me your bug reports and suggestions;
- • you share with me the best programs you develop and the best ideas you have, if you use TEXAS extensively as a research aid.
- TEXAS™ ©1987, 1988 — Mark^Zimmermann
- 9511 Gwyndale Dr. [75066,2044] CompuServe
- Silver Spring, MD 20910 science@nems.ARPA
- USA 301-565-2166
- ^z - 19880103
-
- -- part contents for background part 7
- ----- text -----
- 1:24 AM 4/24/88
-
- -- part contents for card part 83
- ----- text -----
- To get started using TEXAS fast:
- • find or make a text file, on a disk with enough room to hold two more copies of it;
- • click the "Build Index" button to index it;
- • click the "Open Index" button to see its index;
- • click on a line in the index display to see all occurrences of that word in context;
- • click on a line in the context display to see the full text around that word;
- • copy/paste information from other displays into the notes card as desired;
- • move from card to card, browsing & having fun;
- • read the detailed instructions on the TEXAS Help card, then repeat the above steps with other, larger text files, until you run out of disk space.
- 880103 — ^z